<template>
  <div class="header">
    城市选择
    <router-link to="/">
      <div class="iconfont header-back">&#xe624;</div>
    </router-link>

  </div>

</template>
<script>

  export default {
    name: 'CityHeader',
    data () {
      return {
        city: '哈哈'
      }
    }
  }
</script>

<style lang="stylus" type="text/stylus" rel="stylesheet/stylus" scoped>
  @import '~styles/varibles.styl'
  .header
    position: relative;
    height  $headerHeight
    line-height $headerHeight
    text-align center
    color white
    background-color $bgColor

    .header-back
      position: absolute;
      top: 0;
      left: 0;
      color white
      padding-left 0.1rem
      float left
</style>
